#include "Event.h"

NAMESPACE_BEGIN
double Event::getExecuteTime() const
{
    return this->execute_time;
}

void Event::execute() const
{
    this->call_back();
}

bool EventComparison::operator()(const Event& lhs, const Event& rhs) const
{
	return lhs.getExecuteTime() > rhs.getExecuteTime();
}
NAMESPACE_END
